Set Moving Speed

  • Function:

    go.set_move_speed(x,y,r)
    
  • Description: set moving speed of Magician Go

  • Required parameter:

    • x: moving speed in x-axis direction; data type: float; range: -100 cm/s~100 cm/s Positive value of x means moving in the positive direction of x-axis; negative value of x means moving in the negative direction of x-axis.
    • y: moving speed in y-axis direction; data type: float; range: -100 cm/s~100 cm/s. Positive value of y means moving in the positive direction of y-axis; negative value of y means moving in the negative direction of y-axis.
    • r: rotation speed; data type: float; range: -100°/s~100°/s
  • Return:
    • True: The command has been finished.
    • False: The command has not been finished.
  • Example

    go.set_move_speed(x=10,y=0,r=0)
    

    Set the moving speed in x-axis direction as 10 cm/s. The x-axis and y-axis direction are displayed as follows.

results matching ""

    No results matching ""